package xxx.yyy.wyy.controller;


import com.iss.wyy.annotation.Autowirde;
import com.iss.wyy.annotation.Controller;
import com.iss.wyy.annotation.RequestMapping;
import com.iss.wyy.bean.Data;
import com.iss.wyy.bean.View;
import com.iss.wyy.common.RequestMethod;
import xxx.yyy.wyy.service.UserService;


@Controller
@RequestMapping("/user")
public class UserController {

    @Autowirde
    UserService userService;

    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public Data index(Object obj){
        System.out.println("controller 44444444444444444444444444444");
        return new Data(new String("123"));
    }
    @RequestMapping(value = "/first",method = RequestMethod.GET)
    public View first(Object obj){
        System.out.println("controller 5555555555555555");
        return new View("2.jsp");
    }
}
